package com.itheima.homework.Date类;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Demo3 {
    public static void main(String[] args) {
        Date date=new Date();
        SimpleDateFormat sdf=new SimpleDateFormat("YYYY年MM月dd日 HH时mm分ss秒");
        String format = sdf.format(date);
        System.out.println(format);
    }
}
